package com.domain;

import java.util.Date;
import java.util.List;

public class Blog {
    private int id;
    private String btitle;      //标题
    private String bcontent;        //内容
    private String createtime;      //创建日期
    private String updatetime;      //修改日期
    private String bimg;        //图片
    private Integer pageview;       //访问量
    private List<Type> typeList;    //所属分类
    private Integer delete;     //删除标识符（0：已删除 1：未删除）

    @Override
    public String toString() {
        return "Blog{" +
                "id=" + id +
                ", btitle='" + btitle + '\'' +
                ", bcontent='" + bcontent + '\'' +
                ", createtime='" + createtime + '\'' +
                ", updatetime='" + updatetime + '\'' +
                ", bimg='" + bimg + '\'' +
                ", pageview=" + pageview +
                ", typeList=" + typeList +
                ", delete=" + delete +
                '}';
    }

    public List<Type> getTypeList() {
        return typeList;
    }

    public void setTypeList(List<Type> typeList) {
        this.typeList = typeList;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBtitle() {
        return btitle;
    }

    public void setBtitle(String btitle) {
        this.btitle = btitle;
    }

    public String getBcontent() {
        return bcontent;
    }

    public void setBcontent(String bcontent) {
        this.bcontent = bcontent;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public String getBimg() {
        return bimg;
    }

    public void setBimg(String bimg) {
        this.bimg = bimg;
    }

    public Integer getPageview() {
        return pageview;
    }

    public void setPageview(Integer pageview) {
        this.pageview = pageview;
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }
}
